/*
 * Project: com.mmall.product.api.constant
 *
 * File Created at 2019-10-23
 *
 * Copyright 2019 CMCC Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * ZYHY Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license.
 */
package com.mmall.user.api.constant;

/**
 * 可以将这个模块重构到每个模块的 api 中
 * @author jianghucoding
 * @date 2019-10-23
 */
public interface ConstantError {

    // -------- user 模块相关异常
    String USER_NOT_FOUND = "user.not.found";

    String ALREADY_REGISTER = "user.already.register";

    String ALREADY_SEND_PHONE_AUTH_CODE = "already.send.phone.auth.code";

    String PLEASE_RESEND_PHONE_AUTH_CODE = "please.resend.phone.auth.code";

    String PHONE_AUTH_CODE_ERROR = "phone.auth.code.error";

    // -------- product 模块相关异常

    // -------- order 模块相关异常
    String ORDER_IS_NOT_FOUND = "order.is.not.found";

    // -------- pay 模块相关异常
    String PAY_ORDER_TOTAL_AMOUNT_ERROR = "pay.order.total.amount.error";
}
